package edu.hcnu.proxy.dynamic;


import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: Administrator
 * @time: 2022/9/21 17:37
 */
@Component
public class Calculator implements ICalculator {
    public Integer add(Integer a, Integer b) {
        return a + b;
    }

    public Integer sub(Integer a, Integer b) {
        return a - b;

    }

    public Integer mul(Integer a, Integer b) {
        return a * b;

    }

    public Integer div(Integer a, Integer b) {
        return a / b;

    }
}
